
<script language="JavaScript">
<!--
function checkName(){
	ThinkAjax.send('__URL__/checkAccount/','ajax=1&account='+$F('account'));
}
//-->
</script>


<div class="pageContent">
	
	<form method="post" action="__URL__/addQuotes/navTabId/__MODULE__" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">

			<div class="unit">
				<label>报价商品：</label>
                <input id="prodid" name="prodid.id" value="" type="hidden"/>
                <input class="required" name="prodid.orgName" type="text" postField="keyword" suggestFields="id"  size="50" readonly="true" />
	            <a class="btnLook" href="__APP__/Public/ckBackProducts" lookupGroup="prodid" width="1000" height="450">查找带回</a>
			</div>
            <div class="unit">
				<label>报价单位：</label>
                <input id="contid" name="contid.id" value="" type="hidden"/>
                <input class="required" name="contid.orgName" type="text" postField="keyword" suggestFields="id"  size="50" readonly="true" />
	            <a class="btnLook" href="__APP__/Public/ckBackContacts" lookupGroup="contid" width="1000" height="450">查找带回</a>
			</div>
            <div class="unit">
				<label>报价类型：</label>
				<select name="contid.orgType">
                    <option value="">--未选择--</option>
					<option value="1">销售价(卖出价)</option>
					<option value="2">进货价(买入价)</option>
				</select>
			</div>
            <div class="unit">
				<label>不含税价：</label>
				<input type="text" size="30"  name="qprice" value="{$vo.qprice}" />(￥)
			</div>
            <div class="unit">
				<label>含税价：</label>
				<input type="text" size="30"  name="qtaxprice" value="{$vo.qtaxprice}" />(￥)
			</div>
            <div class="unit">
				<label>报价时间：</label>
                <input class="date" name="qtime" type="text" value="{$dtime}" />
                <a class="inputDateButton" href="javascript:;">选择</a>

			</div>			
			<div class="unit">
				<label>备注：</label>
				<textarea name="remarks" rows="3" cols="57"></textarea>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">确认新增</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消返回</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>



